home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
DB_CLIPP
/
2510.ZIP
/
TRSOURCE.EXE
/
SSTOD.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-10-22
|
366b
|
20 lines
/*********
* SSTOD
* by Tom Rettig
* Placed in the public domain by Tom Rettig Associates, 10/22/1990.
*
* Syntax: SSTOD( <expN> )
* Return: Numeric days from <expN> seconds.
*********/
#include "trlib.h"
TRTYPE sstod()
{
if ( PCOUNT == 1 && ISNUM(1) )
_retnd( (double)_parnl(1) / 86400 );
else
_retnd( (double)ERROR );
}